
<%@ page     pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<style>
    .title {
        margin: 0 10px 0 0;
        display: inline;
        font-size: 34px;
        line-height: 1.15;
        font-weight: 400;
        vertical-align: sub;
    }
</style>
<link rel="stylesheet" href="lui/layuii/layui.css">
<head>
    <meta charset="UTF-8">
    <title>发表公告</title>
</head>
<body>
<div style="width:500px;margin:auto;">
    <center><div class="title">发表公告</div></center>
    <center ><blockquote class="layui-elem-quote " style="border:0px;">
        <div class="layui-input-inline" >
            <a href="add.jsp" id="delete-content" class="layui-btn layui-btn-danger batchDel">增加</a>
        </div>
    </blockquote></center>
    <div class="layui-main" style="width:100%">
        <table id="myTable" class="layui-table" >
            <thead >
            <tr class="user-alluser-table-thead">
                <th>编号</th>
                <th>标题</th>
                <th>内容</th>
                <th>时间</th>
                <th colspan="2">操作</th>
            </tr>
            </thead>
            <thead>
            <c:forEach items="${listnt }" var="ss">
                <tr class="user-alluser-table-thead">
                    <td>${ss.id}</td>
                    <td>${ss.title }</td>
                    <td>${ss.content }</td>
                    <td>${ss.times }</td>
                    <td>
                        <div class="layui-input-inline"style="width:50px;margin-top:0px">
                            <a href="NoticeActionDelete?id=${ss.id}" class="layui-btn layui-btn-danger batchDel">删除</a>
                        </div>
                    </td>
                    <td>
                        <div class="layui-input-inline"style="width:50px;margin-top:0px">
                            <a  href="NoticeActionUpdateShow?id=${ss.id}" class="layui-btn layui-btn-danger batchDel">修改</a>
                        </div>
                    </td>
                </tr>
            </c:forEach>
            </thead>
            <tbody class='myData'>
            </tbody>
        </table>
    </div>
</div>
</body>
</html>
